#ifndef CVIDEOSAVEAVI_H
#define CVIDEOSAVEAVI_H
#include "libVideoSaver/cVideoSaverBase.h"

class cVideoSaveAvi : public cVideoSaverBase
{
public:
	cVideoSaveAvi() = default;
	virtual ~cVideoSaveAvi();

public:
    virtual int Init() override;
    virtual int Uninit() override;
    virtual int CreateVideoFile(const char* chFileName, int iVideoWidth, int iVideoHeight, int iFrameRate) override;
    virtual int WriteH264Frame(bool bIframe, unsigned char* pbFrameData, int iFrameSize) override;
    virtual int CloseVideoFile() override;
};
#endif